

<div id="wrapper" class="sadmin">
	<div id="content">
		<h1>Welcome to FinalsClub</h1>
		<p>We are a non-profit, open-education website for students and teachers everywhere. With a unique platform, we have enabled students at select schools to study, collaborate, and create high-quality educational content. Furthermore, our aim is to allow for free and easy sharing of this content.</p>
		<p>Since academics like yourself have provided the original inspiration for student participation, we are offering the unique ability to control the dissemination of your intellectual property. Please complete this brief survey to ensure your course is shared as you see fit.</p>
		<form class="sadmin-register" action="<?php echo url_for("professors/update")?>" method="post">
			<div class="field-set">
				<p class="step-no">1.</p>
				<label>Do you permit the sharing of any related course material&mdash;syllabus, notes, readings, assignments, or discussions&mdash;with individuals not directly enrolled in your courses?</label>
				<p>Only students from your school network may create or share notes. Futhermore, as the copyright holder of all material, you reserve the right to alter these settings at any time. Futhermore, you (and those you choose) will have the ability to moderate any inappropriate material.</p>
				<div class="radios">	
					<?php echo $prof_form['course_material_external_visibility']->render(array("class" => "radios")) ?>
				</div>
				<label>Do you wish to apply similar restrictions to all academic content for which you are listed as copyright holder?</label>
				<div class="radios">
					<?php echo $prof_form['copyright_material_external_visibility']->render(array("class" => "radios"))?>
				</div>
			</div>
			<div class="field-set">
				<p class="step-no">2.</p>
				<label>Do you permit students to make audio recordings of your lectures?<br><strong>This feature has not yet been made available.</strong></label>
				<div class="radios">
					<?php echo $prof_form['audio_recording']->render(array("class" => "radios"))?>
				</div>
				<label>With whom can your students share the audio recordings of your lectures?</label>
				<div class="radios">
					<?php echo $prof_form['audio_share']->render(array("class" => "radios"));	  
					//echo $prof_form->renderHiddenFields(); ?>
				</div>
			</div>
			<div class="field-set">
				<h3>Set Course Admins</h3>
				<label>You can allow others to administer settings and manage your courses. To do so, simply add their email address to the list below. Put each email on a new line.</label>
				<input type="text" name="admins[0]" value="<?php echo (isset($course_admins[0]) ? $course_admins[0]->getUser()->getEmail() : '')?>" /><br>
				<input type="text" name="admins[1]" value="<?php echo (isset($course_admins[1]) ? $course_admins[1]->getUser()->getEmail() : '')?>" /><br>
				<input type="text" name="admins[2]" value="<?php echo (isset($course_admins[2]) ? $course_admins[2]->getUser()->getEmail() : '')?>" /><br>
				<input type="text" name="admins[3]" value="<?php echo (isset($course_admins[3]) ? $course_admins[3]->getUser()->getEmail() : '')?>" /><br>
				<input type="text" name="admins[4]" value="<?php echo (isset($course_admins[4]) ? $course_admins[4]->getUser()->getEmail() : '')?>" /><br>
				<input type="hidden" name="prof[id]" value="<?= $prof->getId() ?>" />															
			</div>
			<div class="field-set">
				<input class="btn_submit" type="image" src="/images/btn_save-small.gif" alt="Save" />
				<p class="note">As always, you retain the right to remove, redact, or hide any content you deem unsuitable.</p>
			</div>
		</form>
	</div>
</div>